<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>track</title>
    <!-- baidu统计 -->
    <script>
    var _hmt = _hmt || [];
    (function( ) {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?8f754921c11fdaca497ffd6e7a83a582";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</head>

<body>
    <p>from wph</p>
    <p id='c'></p>

    <script>
    document.getElementById('c').innerHTML = location.pathname;
</script>
</body>

</html>